package com.dsjy.yf.address.config.base;

public enum ServiceEnum implements BaseErrorInfoInterface {
    // 数据操作错误定义
    CAN_NOT_MATCH(300, "当前地址无法进行匹配"),
    CAN_NOT_TOKEN(301, "认证失败");



    /**
     * 错误码
     */
    private Integer resultCode;

    /**
     * 错误描述
     */
    private String resultMsg;

    ServiceEnum(Integer resultCode, String resultMsg) {
        this.resultCode = resultCode;
        this.resultMsg = resultMsg;
    }

    @Override
    public Integer getResultCode() {
        return resultCode;
    }

    @Override
    public String getResultMsg() {
        return resultMsg;
    }

}